//
//  LittleBallViewController.h
//  LittleBall
//
//  Created by mac on 11-12-23.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import "LittleBallGameManagement.h"

@class CAEmitterLayer;
@class LittleBallPlayViewController;
@class LittleBallConfigViewController;

@interface LittleBallViewController : UIViewController
{
    IBOutlet UIImageView *m_frontView;
    IBOutlet UIButton    *m_traditionalMode;
    IBOutlet UIButton    *m_timeMode;
    IBOutlet UIButton    *m_gameConfig;
    IBOutlet UIButton    *m_gameExit;
    
    LittleBallGameManagement       *m_gameManagement;
    LittleBallPlayViewController   *m_playViewController;
    LittleBallConfigViewController *m_configViewController;
    
    //BOOL             configurationPause;    
}

- (IBAction)onButton_traditionalMode:(id)sender;
- (IBAction)onButton_timeMode:(id)sender;
- (IBAction)onButton_gameConfig:(id)sender;
- (IBAction)onButton_gameExit:(id)sender;

-(void)flower;

- (void)hiddenButtons:(BOOL)bHidden;
- (void)removeConfigViewAnimation;
//- (void)setConfigurationPause:(BOOL)input;

@property (retain) UIButton *m_traditionalMode;
@property (retain) UIButton *m_timeMode;
@property (retain) UIButton *m_gameConfig;
@property (retain) UIButton *m_gameExit;

@property (strong) CAEmitterLayer *flowerEmitter;

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;

@end

